package com.ruoyi.net.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务管理-邻接标签对象 busi_neighb_label
 *
 * @author tony
 * @date 2025-02-09
 */
public class BusiNeighbLabel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 标签类型 */
    @Excel(name = "标签类型")
    @ApiModelProperty(value = "标签类型")
    private String labelType;

    /** 源邻接标签 */
    @Excel(name = "源邻接标签")
    @ApiModelProperty(value = "源邻接标签")
    private String startNeighbLabel;

    /** 宿邻接标签 */
    @Excel(name = "宿邻接标签")
    @ApiModelProperty(value = "宿邻接标签")
    private String endNeighbLabel;

    /** 源网元 */
    @Excel(name = "源网元")
    @ApiModelProperty(value = "源网元")
    private String startElement;

    /** 源端口id */
    @Excel(name = "源端口id")
    @ApiModelProperty(value = "源端口id")
    private String startPortId;

    /** 宿网元 */
    @Excel(name = "宿网元")
    @ApiModelProperty(value = "宿网元")
    private String endElement;

    /** 宿端口id */
    @Excel(name = "宿端口id")
    @ApiModelProperty(value = "宿端口id")
    private String endPortId;

    /** 激活用户 */
    @Excel(name = "激活用户")
    @ApiModelProperty(value = "激活用户")
    private String activateUser;

    /** 激活时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "激活时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "激活时间")
    private Date activateTime;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    /** 源对端ip */
    @Excel(name = "源对端ip")
    @ApiModelProperty(value = "源对端ip")
    private String startOppositeIp;

    /** 宿对端ip */
    @Excel(name = "宿对端ip")
    @ApiModelProperty(value = "宿对端ip")
    private String endOppositeIp;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setLabelType(String labelType)
    {
        this.labelType = labelType;
    }

    public String getLabelType()
    {
        return labelType;
    }
    public void setStartNeighbLabel(String startNeighbLabel)
    {
        this.startNeighbLabel = startNeighbLabel;
    }

    public String getStartNeighbLabel()
    {
        return startNeighbLabel;
    }
    public void setEndNeighbLabel(String endNeighbLabel)
    {
        this.endNeighbLabel = endNeighbLabel;
    }

    public String getEndNeighbLabel()
    {
        return endNeighbLabel;
    }
    public void setStartElement(String startElement)
    {
        this.startElement = startElement;
    }

    public String getStartElement()
    {
        return startElement;
    }
    public void setStartPortId(String startPortId)
    {
        this.startPortId = startPortId;
    }

    public String getStartPortId()
    {
        return startPortId;
    }
    public void setEndElement(String endElement)
    {
        this.endElement = endElement;
    }

    public String getEndElement()
    {
        return endElement;
    }
    public void setEndPortId(String endPortId)
    {
        this.endPortId = endPortId;
    }

    public String getEndPortId()
    {
        return endPortId;
    }
    public void setActivateUser(String activateUser)
    {
        this.activateUser = activateUser;
    }

    public String getActivateUser()
    {
        return activateUser;
    }
    public void setActivateTime(Date activateTime)
    {
        this.activateTime = activateTime;
    }

    public Date getActivateTime()
    {
        return activateTime;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setStartOppositeIp(String startOppositeIp)
    {
        this.startOppositeIp = startOppositeIp;
    }

    public String getStartOppositeIp()
    {
        return startOppositeIp;
    }
    public void setEndOppositeIp(String endOppositeIp)
    {
        this.endOppositeIp = endOppositeIp;
    }

    public String getEndOppositeIp()
    {
        return endOppositeIp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("labelType", getLabelType())
                .append("startNeighbLabel", getStartNeighbLabel())
                .append("endNeighbLabel", getEndNeighbLabel())
                .append("startElement", getStartElement())
                .append("startPortId", getStartPortId())
                .append("endElement", getEndElement())
                .append("endPortId", getEndPortId())
                .append("activateUser", getActivateUser())
                .append("activateTime", getActivateTime())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("startOppositeIp", getStartOppositeIp())
                .append("endOppositeIp", getEndOppositeIp())
                .toString();
    }
}
